package com.skp.shaphan.ui.fxconnectioncontrols;

import java.net.URL;
import java.util.Properties;
import java.util.ResourceBundle;


import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.ComboBox;
import javafx.scene.control.TextField;

public class OracleConnectionOptions extends ConnectionController implements Initializable  {
	@FXML protected ComboBox<String> connectionType;
	@FXML protected TextField databaseName;
	@FXML protected TextField portNumber;
	@FXML protected TextField userName;
	@FXML protected TextField password;
	@FXML protected TextField serverName;
	@FXML protected TextField serviceName;

	@Override
	public void initialize(URL arg0, ResourceBundle arg1) {
		ObservableList<String> options = 
			    FXCollections.observableArrayList(
			        "thin",
			        "OCI"
			    );
		connectionType.setItems(options);
		
		init();
	}

	@Override
	public void setProperties(Properties properties) {
		super.setProperties(properties);
	}

}
